package cn.gmph.blog.admin.web.dto;

import java.util.List;

import cn.gmph.blog.admin.service.post.entity.CommentsDO;
import cn.gmph.blog.admin.service.term.entity.TermsDO;
import cn.gmph.core.base.DTO;

public class PostDTO extends DTO {

    private String           id;
    private String           month;
    private String           day;
    private String           monthDay;
    private String           title;
    private List<TermsDO>    category;
    private String           author;
    private String           comment;
    private String           viewTotle;
    private String           contentArticle;
    private String           originalUrl;
    private List<CommentsDO> commentList;

    public List<CommentsDO> getCommentList() {
        return commentList;
    }

    public String getOriginalUrl() {
        return originalUrl;
    }

    public void setOriginalUrl(String originalUrl) {
        this.originalUrl = originalUrl;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getMonthDay() {
        return monthDay;
    }

    public void setMonthDay(String monthDay) {
        this.monthDay = monthDay;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * category
     *
     * @return  the category
     * @since   CodingExample Ver 1.0
    */

    public List<TermsDO> getCategory() {
        return category;
    }

    /**
     * category
     *
     * @param   category    the category to set
     * @since   CodingExample Ver 1.0
     */

    public void setCategory(List<TermsDO> category) {
        this.category = category;
    }

    /**
     * commentList
     *
     * @param   commentList    the commentList to set
     * @since   CodingExample Ver 1.0
     */

    public void setCommentList(List<CommentsDO> commentList) {
        this.commentList = commentList;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getViewTotle() {
        return viewTotle;
    }

    public void setViewTotle(String viewTotle) {
        this.viewTotle = viewTotle;
    }

    public String getContentArticle() {
        return contentArticle;
    }

    public void setContentArticle(String contentArticle) {
        this.contentArticle = contentArticle;
    }

}
